﻿using System;
namespace PeopleTV
{
    class Person
    {
        public Person(string name)
        {
            this.Name = name;
        }

        public string Name {get;private set;}

        public void PlayWithRemoteControl(RemoteControl rc)
        {
            while (true)
            {
                rc.CheckAllButtons();
                rc.PressingButton = Console.ReadKey();
            }
        }

    }
}
